package com.fili;

import javax.swing.*;
import java.awt.*;

/**
 * Created by Claudiu-Florin FILIMON
 * Date: Mar 2, 2007
 * Time: 12:34:58 PM
 * Revision: 0
 */
public class ZumaFrame extends JFrame
{
    private ZumaPanel zumaPanel;

    public ZumaFrame()
    {
        super("Mini Zuma");
        setSize(600,400);
        setDefaultCloseOperation(EXIT_ON_CLOSE);


        zumaPanel = new ZumaPanel();
        setLayout(new BorderLayout());
        add(zumaPanel, BorderLayout.CENTER);

        new ZumaEngine(zumaPanel).start();

        setVisible(true);
    }
}
